package com.zhang.backend.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhang.backend.entity.Event;

import java.util.List;

public interface EventService extends IService<Event> {
    /**
     * Retrieves all events for a specific person.
     * @param personId The ID of the person.
     * @return A list of events.
     */
    List<Event> getEventsByPersonId(Long personId);
}